package com.data.modules.sm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sm_device_stats
 * @Author: data-boot
 * @Date:   2022-11-11
 * @Version: V1.0
 */
@Data
@TableName("sm_device_stats")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sm_device_stats对象", description="sm_device_stats")
public class SmDeviceStats implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID  主键*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID  主键")
    private Integer id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**所在省*/
	@Excel(name = "所在省", width = 15)
    @ApiModelProperty(value = "所在省")
    private String province;
	/**所在市*/
	@Excel(name = "所在市", width = 15)
    @ApiModelProperty(value = "所在市")
    private String city;
	/**所在区*/
	@Excel(name = "所在区", width = 15)
    @ApiModelProperty(value = "所在区")
    private String area;
	/**地址明细*/
	@Excel(name = "地址明细", width = 15)
    @ApiModelProperty(value = "地址明细")
    private String address;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String deviceNo;
	/**待机数量*/
	@Excel(name = "待机数量", width = 15)
    @ApiModelProperty(value = "待机数量")
    private Integer standbyNum;
	/**运行数量*/
	@Excel(name = "运行数量", width = 15)
    @ApiModelProperty(value = "运行数量")
    private Integer runNum;
	/**故障数量*/
	@Excel(name = "故障数量", width = 15)
    @ApiModelProperty(value = "故障数量")
    private Integer troubleNum;
	/**异常数量*/
	@Excel(name = "异常数量", width = 15)
    @ApiModelProperty(value = "异常数量")
    private Integer errorNum;
}
